package com.szcinda.service.dto.organization;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class OrganizationTree implements Serializable {
    private String id;
    private String name;
    private String fullName;
    private String prefix;
    private String status;
    private List<OrganizationTree> children;

    public OrganizationTree(String id, String name, String prefix, String fullName, String status) {
        this.id = id;
        this.name = name;
        this.prefix = prefix;
        this.fullName = fullName;
        this.status = status;
    }
}
